package com.wtwd.device.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wtwd.device.model.entity.SysUser;
import com.wtwd.device.model.vo.UserInfoVo;


/**
 * @author ljiong
 * @date 2021/08/03
 * @description
 */
public interface SysUserService extends IService<SysUser> {
    IPage<UserInfoVo> getAllUserInfoByConditions(String account, Page<Object> page);

    Integer updateSysUser(SysUser sysUser);

    Integer addSysUser(SysUser sysUser);

    Integer deleteSysUser(Integer userId);

    SysUser getSysUserByAccount(String account);

    Boolean checkLoginUser(SysUser sysUser,String password);
}
